-
Home
-
MotoPress Appointment Booking
-
1.20.0
-
Code
-
Classes
- TimePeriod
| Total Complexity |
44 |
| Dependencies |
3 |
| Dependents |
13 |
| Total lines |
313 |
| Lines of code |
136 |
| Logical lines of code |
61 |
| Comment lines |
136 |
| Methods |
23 |
| Properties |
2 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| toString() |
S |
60 |
5 |
13 |
| diffPeriod() |
S |
64 |
4 |
11 |
| intersectsWith() |
S |
65 |
4 |
9 |
| mergePeriod() |
S |
67 |
3 |
8 |
| splitByPeriod() |
S |
63 |
3 |
10 |
| validate() |
S |
62 |
2 |
12 |
| __construct() |
S |
68 |
2 |
8 |
| makeDateTime() |
S |
70 |
2 |
7 |
| isInPeriod() |
S |
79 |
2 |
3 |
| isSubperiodOf() |
S |
76 |
2 |
4 |
| mergePeriods() |
S |
74 |
2 |
5 |
| createFromPeriod() |
S |
67 |
2 |
8 |
| parsePeriod() |
S |
72 |
1 |
5 |
| setStartTime() |
S |
80 |
1 |
3 |
| setEndTime() |
S |
80 |
1 |
3 |
| setDate() |
S |
74 |
1 |
4 |
| getStartTime() |
S |
81 |
1 |
3 |
| getEndTime() |
S |
81 |
1 |
3 |
| isEmpty() |
S |
80 |
1 |
3 |
| getDuration() |
S |
78 |
1 |
3 |
| expand() |
S |
74 |
1 |
4 |
| __toString() |
S |
81 |
1 |
3 |
| __clone() |
S |
77 |
1 |
4 |